{% extends 'layout.html' %}
{% block content %}
    <form method="POST">
      {% csrf_token %}
        <div class="container">
         {% for item in data_list %}
         <h4><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> 部门名称:</h4>
        <input type="text" class="form-control" value="{{ item.title }}" name="name" style="width: 1140px;margin-top: 10px">
        <input type="submit" style="margin-top: 20px" class="btn btn-success" value="保存">
         {% endfor %}
        </div>
    </form>
{% endblock %}